package javaClassDesign.OveridingOverloading.Interfaces;

import java.io.FileNotFoundException;
import java.io.IOException;

public class TestClassFileNotFoundIOException {

	public static void main(String[] args) {

	}

}

interface II1 {
	void m1() throws IOException;
}

interface II2 {
	void m1() throws FileNotFoundException;
}

class AA12 implements II1, II2 {

	@Override
	public void m1() throws SubFileNotFoundException {

	}

}

class SubFileNotFoundException extends FileNotFoundException {

}